package com.juku2024.juku.db.entity;

import androidx.room.Entity;
import androidx.room.Ignore;
import androidx.room.PrimaryKey;

import com.juku2024.juku.model.BaseModel;
import com.juku2024.juku.model.PlayInfoResponse;

import java.util.ArrayList;

@Entity(tableName = "VideoEntity")
public class VideoEntity extends BaseModel {
    @PrimaryKey
    public long id;
    public int eps = 0;
    public int lockEps = 0;
    public int type_id = 0;
    public int category = 0;

    public float score;

    public String pic;
    public String name;
    public String actor;
    public String version;
    public String subtitle;
    public String director;
    public String attributes;
    public String description;
    // 4.1版本新增，线路内容存放的文件路径，里面存放的是json格式的线路数据
    public String sourceFilePath;
    public String update_progress;

    // 后台返回线路字符串，不需要保存
    @Ignore
    public String playInfo;
    // 真正的线路数据
    @Ignore
    public ArrayList<PlayInfoResponse> sourcePlayList;


    // 是否是短剧
    @Ignore
    public boolean sp;
    // 是否收藏
    @Ignore
    public boolean isFavorite;


}
